// app.js
App({
  globalData: {
    userInfo: null,
    gender:"male",
    isUnloaded: false 
  },
  onLaunch() {
    
  },
  onShow() {
    try {
      const auth = require('./utils/auth');
      auth.ensureLogin({ mode: 'silent' });
    } catch (e) {
    }
  }
})